package com.loyaltyapp.dagwoods;

import net.rim.device.api.ui.component.Dialog;
import net.rim.device.api.ui.container.MainScreen;

/**
 * A class extending the MainScreen class, which provides default standard
 * behavior for BlackBerry GUI applications.
 */
public final class DagwoodsScreen extends MainScreen
{
    /**
     * Creates a new MyScreen object
     */
    public DagwoodsScreen()
    {        
        // Set the displayed title of the screen       
        setTitle("Dagwoods");
    }
    
    public boolean onClose() {
		Dialog.alert("Thank you for using Dagwoods application!");
		System.exit(0);
		return true;
	}
}
